<?php

/**
 * Users table class
 * @author 		TrungT
 * @date		2008 07 22 (yyyy MM dd)
 * @package    	Joomus.TSB
 * @subpackage 	Components
 * @link 		http://localhost/ju_tsb/administrator/index.php?option=com_ju_tsb
 * @license		GNU/GPL
 */

// no direct access
//defined('_JEXEC') or die('Restricted access');

/**
 * Users Table class
 *
 * @package    	Joomus.TSB
 * @subpackage	Components
 */
class TableUsers extends JTable {

	/**
	 * Primary Key
	 *
	 * @var int
	 */
	public $system_user_id = null;

	/**
	 * @var string
	 */
	public $name;

	/**
	 * @var string
	 */
	public $username;

	/**
	 * @var string
	 */
	public $email;

	/**
	 * @var string
	 */
	public $usertype;

	/**
	 * @var string
	 */
	public $tsb_role;

	/**
	 * @var string
	 */
	public $tsb_role_id;

	function TableUsers(& $db) {
		parent :: __construct('#__ju_tsb_users', 'system_user_id', $db);
		//TODO - Insert your code here
	}

	function getErrorMsg(){
		return JText :: _('ERROR');
	}
}
?>